package cn.sw.system.onemany.agg.vo;

import cn.sw.system.onemany.agg.zhujie.Relation;
import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@Relation(TableName = "sys_comments")
public class bVo {

    @Relation(FieldName = "id", PrimaryKey = "id")
    private String id;

    @Relation(FieldName = "sys_article_id")
    private String sysArticleId;

    @Relation(FieldName = "user_name")
    private String userName;

    @Relation(FieldName = "comment_text")
    private String commentText;

    @Relation(FieldName = "create_time")
    private LocalDateTime createTime;
}
